home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.11 Nov 90 / Transition Source / Demo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-08-28  |  776 b   |  35 lines  |  [TEXT/KAHL]

  1. /************************************/
  2. /* File: Demo.h
  3. Function: Header for demo window */
  4. /************************************/
  5. /* #define constants */
  6. /* Controls */
  7. #define    TransitionBtnRef 31
  8. #define    EraseImageBtnRef 32
  9. #define    DrawImageBtnRef 33
  10.  
  11. /* Selections */
  12. #define DoWipeTopBottm 1
  13. #define DoWipeBottomTop 2
  14. #define DoWipeLeftRight 3
  15. #define DoWipeRightLeft 4
  16. #define DoIrisWipe 5
  17. #define DoFadeWipe 6
  18. #define DoPageFlipDown 7
  19. #define DoPageFlipRight 8
  20.  
  21. /* variables */
  22. extern int dChk;
  23. extern int pChk;
  24. extern int cChk;
  25. extern int wipeMode;
  26. extern int wipePart;
  27. extern WindowPtr MyWindow;
  28.  
  29. /* functions */
  30. extern  void  Init_Demo(void);
  31. extern  void  Open_Demo();
  32. extern  void  UpDate_Demo(WindowPtr  whichWindow);
  33. extern  void  Do_Demo(EventRecord  *myEvent);
  34.  
  35.